/*
 * CStringVector.h
 *
 */

#ifndef CSTRINGVECTOR_H_
#define CSTRINGVECTOR_H_

#include <vector>
#include <string>
#include <iostream>

class CStringVector {
	private:
		static char* end;
		std::vector<char*> vars;
	public:
		CStringVector();
		virtual ~CStringVector();

		CStringVector& pushFront(const std::string& argument);
		CStringVector& pushBack(const std::string& argument);
		CStringVector& popFront();
		CStringVector& popBack();
		void clear();

		const char* getFront();
		char** get();

		friend std::ostream& operator<<(std::ostream& o, const CStringVector& e);
};

#endif /* CSTRINGVECTOR_H_ */
